#!/bin/sh
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8

zxstop

svn up
sleep 1
./makeclean m
./makeall debug m qmdb lib 2>&1| tee ~/tmp_make.txt
./makeall debug m qmdb install 2>&1| tee -a ~/tmp_make.txt

cd ../ocs.net
(
svn up
sleep 1
./makeclean m
./makeall debug m qmdb lib 2>&1| tee -a ~/tmp_make.txt
./makeall debug m qmdb install 2>&1| tee -a ~/tmp_make.txt

echo " "
echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
grep -n -i -E "error" ~/tmp_make.txt  
echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
)

dos2unix ~/bin/zxstart
dos2unix ~/bin/zxstop
